import{ initGlobalState, MicroAppStateActions }from'qiankun'
import _store from '@/store'
const initialState = {
  //这可以写初始化数据
  backUrl: '/'
}
// 初始化
const actions = initGlobalState(initialState)
actions.onGlobalStateChange((state, prevState)=>{
  _store.commit("setData", state) // 在store存储相关数据
})
export default actions
